

<div class="col-sm-12 mt20" >
<div class="panel panel-default">
<div class="panel-body">
<div class="col-sm-12">

    <div class="row">
        
        <div class="col-sm-2 col-sm-offset-10">
            <button class="btn btn-block btn-info"
            ng-click="create()"
            >创建</button> 
        </div>

    </div>

</div>
</div>
</div>
<!-- searchArea -->

<div class="panel panel-default">
    <div class="panel-body">
        <table class="table table-condensed table-hover table-bordered">
            <thead>
                <tr>
                    <th class="col-md-8 text-center">栏目名称</th>
                    <th class="col-md-2 text-center">排序</th>
                    <th class="col-md-2 text-center">操作</th>
                </tr>
            </thead>
            <tbody>
                <tr ng-repeat="obj in objs">
                    <td class="">
                        {{obj.column_name}}
                    </td>
                    <td class="text-center">
                        <div class="col-sm-6">
                            <input class="form-control input-sm" style="height:22px;" type="text" value="{{obj.asort}}" ng-model="obj.asort">
                        </div>
                        <a ng-click="asort(obj.id, obj.asort)" class="btn btn-info btn-xs">设置</a>
                    </td>
                    <td class="text-center">
                        <a ng-click="edit(obj)" class="btn btn-success btn-xs">编辑</a>
                        <a ng-click="del(obj)" class="btn btn-info btn-xs">删除</a>
                    </td>
                </tr>
            </tbody>
        </table>
    </div>
</div>

</div>